package cn.jiadakeji.parent.service;

import cn.jiadakeji.parent.domain.TermCourse;
import cn.jiadakeji.parent.dto.MyTermCourseDTO;
import cn.jiadakeji.parent.dto.CourseNextTimeDTO;
import cn.jiadakeji.parent.dto.TermCourseDTO;
import cn.jiadakeji.parent.vo.TermTimeCourseLeaveVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author heyanfeng
 * @create 2022-03-11 11:00
 */
public interface TermCourseService extends IService<TermCourse> {
    MyTermCourseDTO getTerCourse(String studentId);

    TermCourseDTO getTermDetail(String courseId);

    Boolean toLeave(String courseId, TermTimeCourseLeaveVo courseLeaveVo);

    CourseNextTimeDTO leaveTime(String courseId);
}
